﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base_leasesystem_transactionbatch
{
    /// <summary>
    /// 代发主表
    /// </summary>
    [Table("leasesystem_transactionbatch")]
    public class leasesystem_transactionbatch
    {

        /// <summary>
        /// 主键id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public String MID { get; set; }

      

        /// <summary>
        /// 服务商ID
        /// </summary>
        public String ServiceProviderId { get; set; }

        /// <summary>
        /// 服务商名称
        /// </summary>
        public String ServiceProviderName { get; set; }

        /// <summary>
        /// 批次状态
        /// </summary>
        public Int32? BatchStatus { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public String BatchNo { get; set; }

        /// <summary>
        /// 代发来源
        /// </summary>
        public String BatchSource { get; set; }

        /// <summary>
        /// 添加日期
        /// </summary>
        public DateTime? atime { get; set; }

        /// <summary>
        /// 笔数
        /// </summary>
        public Int32? TotalNum { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public Decimal? TotalAmount { get; set; }

        /// <summary>
        /// 说明
        /// </summary>
        public String Reasons { get; set; }

        /// <summary>
        /// 业务状态
        /// </summary>
        public Int32? BusinesStatus { get; set; }

        /// <summary>
        /// 审核日期
        /// </summary>
        public DateTime? CheckTime { get; set; }

        /// <summary>
        /// 批次状态
        /// </summary>
        public String BatchStt { get; set; }

        /// <summary>
        /// 交易返回
        /// </summary>
        public String resJson { get; set; }

        /// <summary>
        /// 通道ID
        /// </summary>
        public String PayChannelId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public Int32? PayStatus { get; set; }

        /// <summary>
        /// 结算单文件
        /// </summary>
        public String FilePath { get; set; }

        /// <summary>
        /// 充值费率
        /// </summary>
        public String? RechargeRate { get; set; }

        /// <summary>
        /// 数据范围ID
        /// </summary>
        public String DataAreaId { get; set; }

    }
}